<form action="{:sysuri()}" autocomplete="off" class="layui-form layui-form-pane form-search" method="get" onsubmit="return false">

    <div class="layui-form-item layui-inline">
        <label class="layui-form-label">章节名称</label>
        <label class="layui-input-inline">
            <input class="layui-input" name="name" placeholder="请输入章节名称" value="{$get.name|default=''}">
        </label>
    </div>




    <div class="layui-form-item layui-inline">
        <label class="layui-form-label">课程</label>
        <label class="layui-input-inline">
            <select class="layui-select" name="parent_id">
                <option value=''>- 全部 -</option>
                {volist name="product_list" id='product'} 
                    <option value="{$product.id}" {if isset($get.parent_id) && $get.parent_id == $product.id} selected {/if}>{$product.name}</option>
                {/volist}
            </select>
        </label>
    </div>



    <div class="layui-form-item layui-inline">
        <button class="layui-btn layui-btn-primary" type="submit"><i class="layui-icon">&#xe615;</i> 搜 索</button>
    </div>
</form>

